Total Complexity | 47 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 452 |
Lines of code | 247 |
Logical lines of code | 123 |
Comment lines | 138 |
Methods | 16 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
parse_product_data() | 51 | 10 | 28 | |
parse_data() | 53 | 7 | 23 | |
track_add_to_compare() | 46 | 3 | 48 | |
track_add_to_cart() | 49 | 4 | 32 | |
track_remove_from_compare() | 48 | 3 | 41 | |
update_product_compare_count() | 59 | 2 | 15 | |
update_user_compare_data() | 65 | 3 | 9 | |
instance() | 72 | 2 | 6 | |
__construct() | 63 | 2 | 10 | |
add_to_cart_url() | 70 | 2 | 6 | |
add_to_cart_link() | 70 | 2 | 6 | |
update_product_compare_time() | 72 | 2 | 5 | |
can_track() | 72 | 2 | 6 | |
update_product_compare_data() | 72 | 1 | 5 | |
update_add_to_cart_count() | 75 | 1 | 4 | |
is_enabled() | 79 | 1 | 3 |